// @ts-ignore
/* eslint-disable */
import { request } from 'umi';

/** 质效评估 记录 列表 POST */
export async function pageRecord(options?: { [key: string]: any }) {
  return request<BaseResponseBean.responsePage<AssessRecordData.RecordPage[]>>(
    '/assess/record/page',
    {
      method: 'POST',
      data: options || {},
    },
  );
}

/** 质效评估 记录 选择 POST */
export async function selectRecord(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<AssessRecordData.RecordSelect>>('/assess/record/select', {
    method: 'POST',
    data: options || {},
  });
}


/** 质效评估 记录 下架 POST */
export async function updateState(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<string>>('/assess/record/update/state', {
    method: 'POST',
    data: options || {},
  });
}

/** 质效评估 记录 删除 POST */
export async function deletedRecord(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<string>>('/assess/record/deleted', {
    method: 'POST',
    data: options || {},
  });
}
